package com.tz.bean;

import com.tz.dao.ClassC;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/10/9.
 */
@Component
public class ClassD {
    @Autowired
    private ClassC c;
    public void d(){
        System.out.println("d()正在运行。。。");
        c.c();
    }
}
